package com.chinatechstar.component.commons.constants;

/**
 * Http常量
 *
 * @author Rei
 * @date 2021/5/12
 */
public class HttpConstants {
    /**
     * A2 链接参数
     */
    public final static String A2_HOST = "http://10.76.19.159";
    public final static String A2_URL = "/CommonServices/CommonService.asmx/GetDataBySql";
    public final static String STR_USER_NAME = "sysvisitor001@qq.com";
    public final static String STR_PASSWORD = "Amzl!5901";
    public final static String MODE_NAME = "PCDM97";
    public final static String SYSTEM_NAME = "测试 V1.0";
    public final static String SUB_SYSTEM_USER = "晨曦";

    /**
     * A2 访问超时时间，毫秒
     */
    public final static int TIMEOUT_MILL_SECONDS = 100;

    /**
     * A2 数据库字段
     */
    public final static String[] FILED_OP_PROD_WELL_PROD_DAILY = {
            "WELL_ID", "PROD_DATE", "PROD_TIME", "LIQ_PROD_DAILY", "OIL_PROD_DAILY",
            "WATER_PROD_DAILY", "GAS_PROD_DAILY", "WATER_RATIO", "GAS_OIL_RATIO"
    };

    /**
     * 滨港数据库
     */
    public final static String MYSQL_DRIVER = "com.mysql.cj.jdbc.Driver";
    public final static String BIN_GANG_URL = "jdbc:mysql://10.76.200.157:3306/bzjhbingang?" +
            "allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true";
    public final static String BIN_GANG_USER = "root";
    public final static String BIN_GANG_PASSWORD = "bzjh2010";
    public final static String BIN_GANG_SQL = "SELECT * FROM bingang WHERE date > ?";

    /**
     * A5数据库
     */
    public final static String ORACLE_DRIVER = "oracle.jdbc.driver.OracleDriver";
    public final static String A5_URL = "jdbc:oracle:thin:@//10.76.31.69:1521/a5orcl";
    public final static String A5_USER = "cyy3cs";
    public final static String A5_PASSWORD = "CYY!20213cs";
}
